package com.sjz.bookmark.tree;

import javax.swing.*;

public class BookmarkIcons {
    public static final Icon DEFAULT_BOOKMARK = loadIcon("/icons/bookmark.png");
    public static final Icon MNEMONIC_BOOKMARK = loadIcon("/icons/mnemonic.png");
    public static final Icon GROUP_ICON = loadIcon("/icons/group.png");

    private static Icon loadIcon(String path) {
        return new ImageIcon(BookmarkIcons.class.getResource(path));
    }
}